package com.zggk.framework.entity.score;   

import java.math.BigDecimal;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import java.util.Date;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Table;
import javax.persistence.Entity;
import javax.persistence.Id; 
import javax.persistence.Column;  

/**
 * @Description 
 * @author 张立增[zhanglizeng] Tel：18860126570
 * @email 1472052711@qq.com
 * @date 2020-02-26 11:30:46
 */
@Entity
@Table(name = "gj_grade", catalog = "score")
public class GjGrade implements Serializable {
	private static final long serialVersionUID = 1L;
    private String id;         //id
    private String districtCode;         //省市编码
    private String highwayGrade;         //公路等级
    private String itemCode;         //项目编号
    private Date checkDate;         //检查时间
    private String checkRecord;         //检查记录
    private BigDecimal checkScore;         //检查得分
    private BigDecimal nocheckScore;         //不参评扣分
	
    @Id
    @Column(name = "id", length = 100)
	public String getId() {
		return id;
	}   
	
	public void setId(String id) {
		this.id = id;
	}  
		
    @Column(name = "district_code", length = 100)
	public String getDistrictCode() {
		return districtCode;
	}   
	
	public void setDistrictCode(String districtCode) {
		this.districtCode = districtCode;
	}  
		
    @Column(name = "highway_grade", length = 100)
	public String getHighwayGrade() {
		return highwayGrade;
	}   
	
	public void setHighwayGrade(String highwayGrade) {
		this.highwayGrade = highwayGrade;
	}  
		
    @Column(name = "item_code", length = 255)
	public String getItemCode() {
		return itemCode;
	}   
	
	public void setItemCode(String itemCode) {
		this.itemCode = itemCode;
	}  
		
    @Temporal(TemporalType.DATE)
    @Column(name = "check_date", nullable = false, length = 19)
	public Date getCheckDate() {
		return checkDate;
	}   
	
	public void setCheckDate(Date checkDate) {
		this.checkDate = checkDate;
	}  
		
    @Column(name = "check_record", length = 255)
	public String getCheckRecord() {
		return checkRecord;
	}   
	
	public void setCheckRecord(String checkRecord) {
		this.checkRecord = checkRecord;
	}  
		
    @Column(name = "check_score", nullable = false, precision = 10 , scale =1)
	public BigDecimal getCheckScore() {
		return checkScore;
	}   
	
	public void setCheckScore(BigDecimal checkScore) {
		this.checkScore = checkScore;
	}  
		
    @Column(name = "nocheck_score", nullable = false, precision = 10 , scale =1)
	public BigDecimal getNocheckScore() {
		return nocheckScore;
	}   
	
	public void setNocheckScore(BigDecimal nocheckScore) {
		this.nocheckScore = nocheckScore;
	}  
		
}
